@using Orchard.Utility.Extensions
@model Orchard.ContentTypes.ViewModels.EditFieldNameViewModel
@{
    Style.Require("ContentTypesAdmin");

    Layout.Title = T("Edit Field \"{0}\"", Model.Name).ToString();
}

@using (Html.BeginFormAntiForgeryPost()) {
    @Html.ValidationSummary()
    <fieldset>
        <label for="DisplayName">@T("Display Name")</label>
        @Html.TextBoxFor(m => m.DisplayName, new {@class = "textMedium", autofocus = "autofocus"})
        <span class="hint">@T("Name of the field as it will be displayed in screens.")</span>
        
        @Html.HiddenFor(m => m.Name)
    </fieldset>
    <fieldset>
        <button class="primaryAction" type="submit" name="submit.Save" value="Save">@T("Save")</button>
    </fieldset>
}
